import request from '@/utils/request'
export class networkApi{

    //根据宿主机ip配置子网网段
    static getNetworkList(data: any){
        return request.post('/network/configSubnet',data)
    }


    // 根据数量下发可用子网IP
    static getAvailableSubnetIP(data: any){
        return request.post('/network/configSubnet',data)
    }


    // 根据下发数量查询可用子网ipv4和ipv6
    static getAvailableSubnetIPList(data: any){
        return request.post('/network/showSubnet',data)
    }

    // 批量验证修改后的ipv4地址和ipv6地址是否可用
    static verifySubnetIP(data: any){
        return request.post('/network/batchVerify',data)
    }

    // 批量修改子网ipv4和ipv6
    static modifySubnetIP(data: any){
        return request.post('/network/batchModify',data)
    }
}
